﻿//
// GNS_PromoterPro.h
// MobileManageSys
//FuncTion 推广员充值比例
// Created by mr.l on 16/1/14.
//
//

#ifndef __MobileManageSys__GNS_PromoterPro__
#define __MobileManageSys__GNS_PromoterPro__

#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "GNS_CursorTextField.h"
#include "GNS_Handler.h"
USING_NS_CC;
using namespace cocostudio::timeline;
using namespace ui;
US_NS_CUSTOM_UI;

class GNS_PromoterPro : public Layer
{
public:
    GNS_PromoterPro();
    ~GNS_PromoterPro();
    static GNS_PromoterPro* createLayer();
    virtual bool init();
    CREATE_FUNC(GNS_PromoterPro);
    void BtnCallBack(Ref *pSender , ui::Widget::TouchEventType type);
    void SetNodeName(std::string CsbName);
    void SetInputStr(std::string InputStr);
	void setRechargeRatio(const int rechargeRatio);
    int SaveInput;
    void ResProRation();
    int  saveThePutNumber();
private:
    Node * pGNS_PromoterPro;
    //TextField * InputNum;
    GNS_CursorTextField * pInputNun;
    //TextField * temp ;
	TextField * tfSetProRatio;

	CustomEditBox * _tfSetProRatio;
};

#endif /* defined(__MobileManageSys__GNS_PromoterPro__) */